import Loading from '../../components/Loading';
import Toast from '../../components/Toast';
import addToast from './api';

Toast.install = function(Vue) {
  Vue.component(Loading.name, Loading);
  Vue.component(Toast.name, Toast);
  addToast(Vue, Toast);
};

Toast.Loading = Loading;
export default Toast;
